<!DOCTYPE html>
<html lang="zh-cmn-Hans">
<head>
  <meta charset="UTF-8">
  <title>^^title-房源户型管理-列表</title>
  
  <link rel="stylesheet" href="^^static_url/css/vendor.css">
  <link rel="stylesheet" href="^^static_url/css/1m2.css">
</head>
<body>
  @@include('header.html')
  @@include('menu.html')
  <div class="content-wrap">
    <div class="toolbar">
      <div class="pull-right">
        <a id="export" href="#" class="btn btn-primary btn-bordered btn-h-lg" data-toggle="modal" data-target="#batch-import-modal">
          <i class="iconfont icon-daoru"></i> 批量导入房源
        </a>
      </div>
    </div>
    <div class="filter-content">
      <form id="searchForm">
        <div class="row">
          <div class="col-md-4">
            <div class="form-group">
              <label>楼盘名称</label>
              <select id="devId" name="buildIdSearch" class="form-control" autocomplete="off">
                <option value="">请选择</option>
              </select>
            </div>
          </div>
          <div class="col-md-4 with-label">
            <button id="search-btn" type="button" class="btn btn-primary btn-h-lg">
              <i class="iconfont icon-chazhao"></i> 搜索
            </button>
          </div>
        </div>
      </form>
    </div>
    <table id="table"></table>
  </div>
  @@include('footer.html')
  <!-- 批量导入模态框 -->
  <div class="modal fade" id="batch-import-modal" tabindex="-1">
    <div class="modal-dialog">
      <div class="modal-content">
        <div class="modal-header">
          <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span></button>
          <h4 class="modal-title">批量导入</h4>
        </div>
        <div class="modal-body">
          <div class="bg-danger" style="padding: 10px;margin-bottom: 20px;border-radius: 4px; display: none;" id='batch-import-modal-error'>文件格式不支持!</div>
          <form  enctype="multipart/form-data" id="uploadForm">
            <div class="form-group">
              <label class="control-label">选择楼盘:</label>
              <select id="developerId" class="form-control">
                <option>请选择</option>
              </select>
            </div>
            <div class="form-group">
              <label class="control-label">选择导入文件</label>
              <input name="file" type="file" autocomplete="off" id='batch-import-modal-file'>
            </div>
            <div class="form-group">
              <p class="form-control-static"><a href="https://www.1m2.net/houses/v2/DownloadFile">下载模板</a></p>
            </div>
          </form>
        </div>
        <div class="modal-footer">
          <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
          <button type="button" class="btn btn-primary" disabled id='batch-import-modal-submit'>导入</button>
        </div>
      </div>
    </div>
  </div>

</body>
<script src="^^static_url/js/vendor.js"></script>
<script src="^^static_url/js/houseTypeManage_index.js"></script>
</html>